import { axios } from '../../../utils/request'
export const baseAPI = {
  getEquipProgressUrl: '/kan_ban/get_equip_progress',
  getDispatchUndoneUrl: '/kan_ban/get_dispatch_undone',
  getWeekReportUrl: '/kan_ban/get_week_report',
  getHourReportUrl: '/kan_ban/get_hour_report',
  getMoldOtherUrl: '/kan_ban/get_mold_other',
  getMoldEquipUserUrl: '/kan_ban/get_mold_equip_user',
  getStockRealTimeUrl: '/kan_ban/get_stock_real_time',
  xiaJiaTaskWeekUrl: '/kan_ban/xia_jia_task_week',
  shangJiaTaskWeekUrl: '/kan_ban/shang_jia_task_week',
  shouHuoTaskWeekUrl: '/kan_ban/shou_huo_task_week',
  xiaoHaoWeekUrl: '/kan_ban/xiao_hao_week',
  materialLingYongUrl: '/kan_ban/material_ling_yong',
  inspectCheckListUrl: '/kan_ban/inspect_check_list',
  getDispatchInfoUrl: '/kan_ban/get_dispatch_info',
  getProductListUrl: '/kan_ban/get_product_list',
  getCheckOtherUrl: '/kan_ban/get_check_other',
  getCheckWeekUrl: '/kan_ban/get_check_week',
  getProductMonthWcUrl: '/kan_ban/get_product_month_wc',
  getCheckScrapTypeUrl: '/kan_ban/get_check_scrap_type',
  getScarpTypeUrl: '/kan_ban/get_scarp_type',
  getEquipRepairUrl: '/kan_ban/get_equip_repair',
  getStockTaskUrl: '/kan_ban/get_stock_task',
  getInspectWcUrl: '/kan_ban/get_inspect_wc',
  getScrapWcUrl: '/kan_ban/get_scrap_wc'
}
// getScrapWcApi

export function getScrapWcApi(params) {
  return axios({
    url: baseAPI.getScrapWcUrl,
    method: 'get',
    params
  })
}

export function getInspectWcApi(params) {
  return axios({
    url: baseAPI.getInspectWcUrl,
    method: 'get',
    params
  })
}

export function getStockTaskApi(params) {
  return axios({
    url: baseAPI.getStockTaskUrl,
    method: 'get',
    params
  })
}

export function getEquipRepairApi(params) {
  return axios({
    url: baseAPI.getEquipRepairUrl,
    method: 'get',
    params
  })
}

export function getScarpTypeApi(params) {
  return axios({
    url: baseAPI.getScarpTypeUrl,
    method: 'get',
    params
  })
}

export function getCheckScrapTypeApi(params) {
  return axios({
    url: baseAPI.getCheckScrapTypeUrl,
    method: 'get',
    params
  })
}

export function getProductMonthWcApi(params) {
  return axios({
    url: baseAPI.getProductMonthWcUrl,
    method: 'get',
    params
  })
}

export function getCheckWeekApi(params) {
  return axios({
    url: baseAPI.getCheckWeekUrl,
    method: 'get',
    params
  })
}

export function getCheckOtherApi(params) {
  return axios({
    url: baseAPI.getCheckOtherUrl,
    method: 'get',
    params
  })
}

export function getProductListApi(params) {
  return axios({
    url: baseAPI.getProductListUrl,
    method: 'get',
    params
  })
}

export function getDispatchInfoApi(params) {
  return axios({
    url: baseAPI.getDispatchInfoUrl,
    method: 'get',
    params
  })
}

export function inspectCheckListApi(params) {
  return axios({
    url: baseAPI.inspectCheckListUrl,
    method: 'get',
    params
  })
}

export function materialLingYongApi(params) {
  return axios({
    url: baseAPI.materialLingYongUrl,
    method: 'get',
    params
  })
}

export function xiaoHaoWeekApi(params) {
  return axios({
    url: baseAPI.xiaoHaoWeekUrl,
    method: 'get',
    params
  })
}

export function shouHuoTaskWeekApi(params) {
  return axios({
    url: baseAPI.shouHuoTaskWeekUrl,
    method: 'get',
    params
  })
}

export function shangJiaTaskWeekApi(params) {
  return axios({
    url: baseAPI.shangJiaTaskWeekUrl,
    method: 'get',
    params
  })
}

export function xiaJiaTaskWeekApi(params) {
  return axios({
    url: baseAPI.xiaJiaTaskWeekUrl,
    method: 'get',
    params
  })
}

export function getStockRealTimeApi(params) {
  return axios({
    url: baseAPI.getStockRealTimeUrl,
    method: 'get',
    params
  })
}

export function getMoldEquipUserApi(params) {
  return axios({
    url: baseAPI.getMoldEquipUserUrl,
    method: 'get',
    params
  })
}

export function getMoldOtherApi(params) {
  return axios({
    url: baseAPI.getMoldOtherUrl,
    method: 'get',
    params
  })
}

export function getHourReportApi(params) {
  return axios({
    url: baseAPI.getHourReportUrl,
    method: 'get',
    params
  })
}

export function getWeekReportApi(params) {
  return axios({
    url: baseAPI.getWeekReportUrl,
    method: 'get',
    params
  })
}

export function getDispatchUndoneApi(params) {
  return axios({
    url: baseAPI.getDispatchUndoneUrl,
    method: 'get',
    params
  })
}

export function getEquipProgressApi(params) {
  return axios({
    url: baseAPI.getEquipProgressUrl,
    method: 'get',
    params
  })
}
// export function sysQuery(parameter) {
//   return axios({
//     url: baseAPI.sysQuery,
//     method: 'post',
//     data: parameter,
//   })
// }
